BlockingCollection(T) Constructor

Task Parallel System.Threading

Initializes a new instance of the BlockingCollection<(Of <(T>)>) class without an upper-bound.

Namespace:  System.Collections.Concurrent
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public Sub New
C#
public BlockingCollection()

Remarks

The default underlying collection is a ConcurrentQueue<T>.

See Also